<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>QSculpt: qsculpt/include/GlView.h Source File</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">QSculpt
   &#160;<span id="projectnumber">0.0.1a</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
<div class="header">
  <div class="headertitle">
<div class="title">qsculpt/include/GlView.h</div>  </div>
</div>
<div class="contents">
<div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/***************************************************************************</span>
<a name="l00002"></a>00002 <span class="comment"> *   Copyright (C) 2006 by Juan Roberto Cabral Flores   *</span>
<a name="l00003"></a>00003 <span class="comment"> *   roberto.cabral@gmail.com   *</span>
<a name="l00004"></a>00004 <span class="comment"> *                                                                         *</span>
<a name="l00005"></a>00005 <span class="comment"> *   This program is free software; you can redistribute it and/or modify  *</span>
<a name="l00006"></a>00006 <span class="comment"> *   it under the terms of the GNU General Public License as published by  *</span>
<a name="l00007"></a>00007 <span class="comment"> *   the Free Software Foundation; either version 2 of the License, or     *</span>
<a name="l00008"></a>00008 <span class="comment"> *   (at your option) any later version.                                   *</span>
<a name="l00009"></a>00009 <span class="comment"> *                                                                         *</span>
<a name="l00010"></a>00010 <span class="comment"> *   This program is distributed in the hope that it will be useful,       *</span>
<a name="l00011"></a>00011 <span class="comment"> *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *</span>
<a name="l00012"></a>00012 <span class="comment"> *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *</span>
<a name="l00013"></a>00013 <span class="comment"> *   GNU General Public License for more details.                          *</span>
<a name="l00014"></a>00014 <span class="comment"> *                                                                         *</span>
<a name="l00015"></a>00015 <span class="comment"> *   You should have received a copy of the GNU General Public License     *</span>
<a name="l00016"></a>00016 <span class="comment"> *   along with this program; if not, write to the                         *</span>
<a name="l00017"></a>00017 <span class="comment"> *   Free Software Foundation, Inc.,                                       *</span>
<a name="l00018"></a>00018 <span class="comment"> *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *</span>
<a name="l00019"></a>00019 <span class="comment"> ***************************************************************************/</span>
<a name="l00020"></a>00020 <span class="preprocessor">#ifndef GLDISPLAY_H</span>
<a name="l00021"></a>00021 <span class="preprocessor"></span><span class="preprocessor">#define GLDISPLAY_H</span>
<a name="l00022"></a>00022 <span class="preprocessor"></span>
<a name="l00023"></a>00023 <span class="preprocessor">#include &lt;QtOpenGL/QGLWidget&gt;</span>
<a name="l00024"></a>00024 <span class="preprocessor">#include &lt;QtCore/QPoint&gt;</span>
<a name="l00025"></a>00025 <span class="preprocessor">#include &lt;QtCore/QVector&gt;</span>
<a name="l00026"></a>00026 <span class="preprocessor">#include &lt;QtGui/QPen&gt;</span>
<a name="l00027"></a>00027 <span class="preprocessor">#include &lt;QtGui/QBrush&gt;</span>
<a name="l00028"></a>00028 <span class="preprocessor">#include &quot;SpEnums.h&quot;</span>
<a name="l00029"></a>00029 <span class="preprocessor">#include &quot;Point3D.h&quot;</span>
<a name="l00030"></a>00030 <span class="preprocessor">#include &quot;BufferObject.h&quot;</span>
<a name="l00031"></a>00031 <span class="preprocessor">#include &quot;ISurface.h&quot;</span>
<a name="l00032"></a>00032 <span class="preprocessor">#include &quot;Color.h&quot;</span>
<a name="l00033"></a>00033 <span class="preprocessor">#include &quot;Scene.h&quot;</span>
<a name="l00034"></a>00034 
<a name="l00035"></a>00035 <span class="keyword">class </span><a class="code" href="class_document_view.html">DocumentView</a>;
<a name="l00036"></a>00036 <span class="keyword">class </span>QMouseEvent;
<a name="l00037"></a>00037 <span class="keyword">class </span>QWheelEvent;
<a name="l00038"></a>00038 <span class="keyword">class </span><a class="code" href="class_camera.html">Camera</a>;
<a name="l00039"></a>00039 <span class="keyword">class </span><a class="code" href="class_i_renderer.html">IRenderer</a>;
<a name="l00040"></a>00040 
<a name="l00044"></a><a class="code" href="struct_hit_record.html">00044</a> <span class="keyword">struct </span><a class="code" href="struct_hit_record.html">HitRecord</a>
<a name="l00045"></a>00045 {
<a name="l00046"></a>00046     <span class="keywordtype">int</span> numNamesInStack;
<a name="l00047"></a>00047     <span class="keywordtype">int</span> minDepth;
<a name="l00048"></a>00048     <span class="keywordtype">int</span> maxDepth;
<a name="l00049"></a>00049     <span class="keywordtype">int</span> stackContents;
<a name="l00050"></a>00050 };
<a name="l00051"></a>00051 
<a name="l00058"></a><a class="code" href="class_gl_canvas.html">00058</a> <span class="keyword">class </span><a class="code" href="class_gl_canvas.html">GlCanvas</a> : <span class="keyword">public</span> QGLWidget
<a name="l00059"></a>00059 {
<a name="l00060"></a>00060     Q_OBJECT
<a name="l00061"></a>00061 <span class="keyword">public</span>:
<a name="l00062"></a>00062     <span class="keyword">typedef</span> QMap&lt;int, Camera*&gt; CameraContainer;
<a name="l00063"></a>00063 
<a name="l00064"></a>00064     <span class="keyword">enum</span> PerspectiveType {
<a name="l00065"></a>00065         Front = 0,
<a name="l00066"></a>00066         Back,
<a name="l00067"></a>00067         Top,
<a name="l00068"></a>00068         Bottom,
<a name="l00069"></a>00069         Left,
<a name="l00070"></a>00070         Right,
<a name="l00071"></a>00071         Perspective
<a name="l00072"></a>00072     };
<a name="l00073"></a>00073 
<a name="l00074"></a>00074     <span class="keyword">enum</span> CursorShapeType {
<a name="l00075"></a>00075         None,
<a name="l00076"></a>00076         Cross,
<a name="l00077"></a>00077         Circle,
<a name="l00078"></a>00078         Image
<a name="l00079"></a>00079     };
<a name="l00080"></a>00080 
<a name="l00087"></a>00087     <a class="code" href="class_gl_canvas.html#aa4bd4c73b8c9e1c4bf6f6b0f442709b1">GlCanvas</a>(<a class="code" href="class_document_view.html">DocumentView</a>* parent = 0);
<a name="l00088"></a>00088     
<a name="l00095"></a>00095     <a class="code" href="class_gl_canvas.html#aa4bd4c73b8c9e1c4bf6f6b0f442709b1">GlCanvas</a>(QGLContext * ctx, <a class="code" href="class_document_view.html">DocumentView</a>* parent = 0);
<a name="l00096"></a>00096 
<a name="l00100"></a>00100     <a class="code" href="class_gl_canvas.html#ace13c982e13f1912c59ffcf605ac80b9">~GlCanvas</a>();
<a name="l00101"></a>00101 
<a name="l00107"></a>00107     <span class="keywordtype">bool</span> <a class="code" href="class_gl_canvas.html#aaf0c5632e3ea27443f4d14f94c06b80e">isGridVisible</a>();
<a name="l00108"></a>00108 
<a name="l00112"></a>00112     <span class="keywordtype">bool</span> areNormalsVisible();
<a name="l00113"></a>00113 
<a name="l00122"></a>00122     ObjectContainer <a class="code" href="class_gl_canvas.html#aeacf302d152193915a01dd7578db8614">getSelectedObjects</a>(GLint x, GLint y);
<a name="l00123"></a>00123 
<a name="l00128"></a>00128     PointIndexList <a class="code" href="class_gl_canvas.html#a3953e86ba36c8c17dcfcab7da6098cbe">getSelectedVertices</a>(GLint x, GLint y,
<a name="l00129"></a>00129                                        GLint width, GLint height);
<a name="l00133"></a>00133     <a class="code" href="class_camera.html">Camera</a>* <a class="code" href="class_gl_canvas.html#a5b2904679543d846f6a038d68415d3c3">getViewCamera</a>();
<a name="l00134"></a>00134 
<a name="l00138"></a>00138     <span class="keyword">const</span> <a class="code" href="class_camera.html">Camera</a>* <a class="code" href="class_gl_canvas.html#a5b2904679543d846f6a038d68415d3c3">getViewCamera</a>() <span class="keyword">const</span>;
<a name="l00139"></a>00139     
<a name="l00144"></a>00144     <span class="keywordtype">void</span> <a class="code" href="class_gl_canvas.html#a1eb995a8edc5a0ea9abcf0553c1a4dbb">screenToWorld</a>(<span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y, <span class="keywordtype">double</span> z,
<a name="l00145"></a>00145                                       <span class="keywordtype">double</span> *wx, <span class="keywordtype">double</span> *wy, <span class="keywordtype">double</span> *wz) <span class="keyword">const</span>;
<a name="l00150"></a>00150     <span class="keywordtype">void</span> <a class="code" href="class_gl_canvas.html#a1eb995a8edc5a0ea9abcf0553c1a4dbb">screenToWorld</a>(<span class="keyword">const</span> Point3&amp;, Point3&amp;) <span class="keyword">const</span>;
<a name="l00151"></a>00151     
<a name="l00156"></a>00156     Point3 <a class="code" href="class_gl_canvas.html#a1eb995a8edc5a0ea9abcf0553c1a4dbb">screenToWorld</a>(<span class="keyword">const</span> Point3&amp;) <span class="keyword">const</span>;
<a name="l00157"></a>00157     
<a name="l00162"></a>00162     <span class="keywordtype">void</span> <a class="code" href="class_gl_canvas.html#a0a1ed87fd1fb141d2ed3bd2e17159bf2">worldToScreen</a>(<span class="keywordtype">double</span> wx, <span class="keywordtype">double</span> wy, <span class="keywordtype">double</span> wz,
<a name="l00163"></a>00163                                       <span class="keywordtype">double</span> *x, <span class="keywordtype">double</span> *y, <span class="keywordtype">double</span> *z) <span class="keyword">const</span>;
<a name="l00168"></a>00168     <span class="keywordtype">void</span> <a class="code" href="class_gl_canvas.html#a0a1ed87fd1fb141d2ed3bd2e17159bf2">worldToScreen</a>(<span class="keyword">const</span> Point3&amp;, Point3&amp;) <span class="keyword">const</span>;
<a name="l00169"></a>00169     
<a name="l00174"></a>00174     Point3 <a class="code" href="class_gl_canvas.html#a0a1ed87fd1fb141d2ed3bd2e17159bf2">worldToScreen</a>(<span class="keyword">const</span> Point3&amp;) <span class="keyword">const</span>;
<a name="l00175"></a>00175     
<a name="l00179"></a>00179     PerspectiveType getPerspectiveView() ;
<a name="l00180"></a>00180 
<a name="l00181"></a>00181     <span class="keywordtype">void</span> set3DCursorShape(CursorShapeType shape);
<a name="l00182"></a>00182 
<a name="l00183"></a>00183     CursorShapeType getCursorShape();
<a name="l00184"></a>00184 
<a name="l00185"></a>00185     <span class="keywordtype">void</span> setCursorPosition(Point3 p);
<a name="l00186"></a>00186 
<a name="l00187"></a>00187     Point3 getCursorPosition() ;
<a name="l00188"></a>00188 
<a name="l00189"></a>00189     <span class="keywordtype">void</span> setCursorOrientation(Point3 n);
<a name="l00190"></a>00190 
<a name="l00191"></a>00191     Point3 getCursorOrientation() ;
<a name="l00192"></a>00192 
<a name="l00197"></a>00197     <span class="keywordtype">void</span> <a class="code" href="class_gl_canvas.html#aa70231abe2ffd5825c513bf64402a020">setCursorImage</a>(<span class="keyword">const</span> QImage&amp; image);
<a name="l00198"></a>00198 
<a name="l00202"></a>00202     QImage <a class="code" href="class_gl_canvas.html#aff275a38d8b886b0ebf55c71fada0010">getCursorImage</a>();
<a name="l00203"></a>00203 
<a name="l00207"></a>00207     <span class="keywordtype">void</span> enable(GLenum flag) { glEnable(flag); }
<a name="l00208"></a>00208     
<a name="l00212"></a>00212     <span class="keywordtype">void</span> disable(GLenum flag) { glDisable(flag); }
<a name="l00213"></a>00213     
<a name="l00220"></a>00220     <span class="keywordtype">void</span> <a class="code" href="class_gl_canvas.html#a7bd966336da4b1137561e64542701d21">setPen</a>(<span class="keyword">const</span> QPen&amp; <a class="code" href="class_gl_canvas.html#ab978ba27fda3f4b24ddad2849832ed82">pen</a>);
<a name="l00221"></a>00221     
<a name="l00225"></a>00225     <span class="keyword">const</span> QPen&amp; <a class="code" href="class_gl_canvas.html#ab978ba27fda3f4b24ddad2849832ed82">pen</a>() <span class="keyword">const</span>;
<a name="l00226"></a>00226     
<a name="l00233"></a>00233     <span class="keywordtype">void</span> <a class="code" href="class_gl_canvas.html#a1d318a3ce65b11b217b1e939125d9c36">setBrush</a>(<span class="keyword">const</span> QBrush&amp; pen);
<a name="l00234"></a>00234     
<a name="l00238"></a>00238     <span class="keyword">const</span> QBrush&amp; <a class="code" href="class_gl_canvas.html#a60040e3423720268957576f0d1db91fa">brush</a>() <span class="keyword">const</span>;
<a name="l00239"></a>00239     
<a name="l00244"></a>00244     <a class="code" href="class_color.html">Color</a> <a class="code" href="class_gl_canvas.html#afbf0e934dfb5fb6c46ae926dc1d0b5b4">color</a>(<span class="keyword">const</span> Point3 &amp; p);
<a name="l00245"></a>00245     
<a name="l00249"></a>00249     <a class="code" href="class_color.html">Color</a> <a class="code" href="class_gl_canvas.html#afbf0e934dfb5fb6c46ae926dc1d0b5b4">color</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y);
<a name="l00250"></a>00250     
<a name="l00255"></a>00255     uint <a class="code" href="class_gl_canvas.html#ae2c9bbcf9ede0a15e5fc72d3851330d5">colorUint</a>(<span class="keyword">const</span> Point3 &amp; p);
<a name="l00256"></a>00256     
<a name="l00260"></a>00260     uint <a class="code" href="class_gl_canvas.html#ae2c9bbcf9ede0a15e5fc72d3851330d5">colorUint</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y);
<a name="l00261"></a>00261     
<a name="l00266"></a>00266     <span class="keywordtype">float</span> <a class="code" href="class_gl_canvas.html#ad49de4a5a155edb6bc466ea56f9f718a">depth</a>(<span class="keyword">const</span> Point3 &amp; p);
<a name="l00267"></a>00267     
<a name="l00271"></a>00271     <span class="keywordtype">float</span> <a class="code" href="class_gl_canvas.html#ad49de4a5a155edb6bc466ea56f9f718a">depth</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y);
<a name="l00272"></a>00272     
<a name="l00276"></a>00276     <span class="keywordtype">void</span> drawLine(<span class="keyword">const</span> Point3&amp; p1, <span class="keyword">const</span> Point3&amp; p2);
<a name="l00277"></a>00277     
<a name="l00281"></a>00281     <span class="keywordtype">void</span> <a class="code" href="class_gl_canvas.html#ab76a62e34dcb54ca0ab090eee18dbbd5">drawLine2D</a>(<span class="keyword">const</span> Point3&amp; p1, <span class="keyword">const</span> Point3&amp; p2);
<a name="l00282"></a>00282     
<a name="l00287"></a>00287     <span class="keywordtype">void</span> <a class="code" href="class_gl_canvas.html#a532f54d1a7e02d9642fcf37f4c781f17">drawRect</a>(<span class="keyword">const</span> Point3&amp; p1, <span class="keyword">const</span> Point3&amp; p2, <span class="keywordtype">int</span> mode = 0);
<a name="l00288"></a>00288     
<a name="l00300"></a>00300     <span class="keywordtype">void</span> <a class="code" href="class_gl_canvas.html#adf8ae901917ae6a9a18e5f8ac5fc3b7b">drawEllipse</a>(<span class="keyword">const</span> Point3&amp; center, 
<a name="l00301"></a>00301                      <span class="keywordtype">float</span> axis1,
<a name="l00302"></a>00302                      <span class="keywordtype">float</span> axis2,
<a name="l00303"></a>00303                      <span class="keywordtype">float</span> innerAxis1 = 0.0f,
<a name="l00304"></a>00304                      <span class="keywordtype">float</span> innerAxis2 = 0.0f);
<a name="l00305"></a>00305     
<a name="l00321"></a>00321     <span class="keywordtype">void</span> <a class="code" href="class_gl_canvas.html#ae6745112f40ae41b34dab0bb36f60a76">drawArc</a>(<span class="keyword">const</span> Point3&amp; center, 
<a name="l00322"></a>00322                  <span class="keywordtype">float</span> startAngle,
<a name="l00323"></a>00323                  <span class="keywordtype">float</span> endAngle,
<a name="l00324"></a>00324                  <span class="keywordtype">float</span> axis1,
<a name="l00325"></a>00325                  <span class="keywordtype">float</span> axis2,
<a name="l00326"></a>00326                  <span class="keywordtype">float</span> innerAxis1 = 0.0f,
<a name="l00327"></a>00327                  <span class="keywordtype">float</span> innerAxis2 = 0.0f);
<a name="l00328"></a>00328     
<a name="l00332"></a>00332     <a class="code" href="class_i_renderer.html">IRenderer</a>* <a class="code" href="class_gl_canvas.html#a5277f562acd39c9009aee04dfb8da14f">renderer</a>() <span class="keyword">const</span> ;
<a name="l00333"></a>00333     
<a name="l00337"></a>00337     <span class="keywordtype">void</span> <a class="code" href="class_gl_canvas.html#af8efbece7288e106ff31540ec5c7f73e">drawScene</a>(Scene::SharedPtr scene);
<a name="l00338"></a>00338     
<a name="l00339"></a>00339     
<a name="l00346"></a>00346     <span class="keywordtype">void</span> <a class="code" href="class_gl_canvas.html#a6eb807809dc28ba9d279119e46b40173">begin</a>(GLenum mode);
<a name="l00347"></a>00347     
<a name="l00351"></a>00351     <span class="keywordtype">void</span> end();
<a name="l00352"></a>00352     
<a name="l00353"></a>00353 <span class="keyword">public</span> slots:
<a name="l00359"></a>00359     <span class="keywordtype">void</span> <a class="code" href="class_gl_canvas.html#a1cb1098025dd2e1956d34dbaaa6e383e">setDrawingMode</a>(DrawingMode mode);
<a name="l00360"></a>00360 
<a name="l00366"></a>00366     <span class="keywordtype">void</span> <a class="code" href="class_gl_canvas.html#a6c643daf33a7f5eb6089325c1be76120">setPerspectiveView</a>(PerspectiveType type);
<a name="l00372"></a>00372     <span class="keywordtype">void</span> <a class="code" href="class_gl_canvas.html#aa7ce7d955363793ca9479eebbc47925b">setGridVisible</a>(<span class="keywordtype">bool</span> value);
<a name="l00373"></a>00373 
<a name="l00377"></a>00377     <span class="keywordtype">void</span> setNormalsVisible(<span class="keywordtype">bool</span> value);
<a name="l00378"></a>00378 
<a name="l00379"></a>00379 <span class="keyword">protected</span>:
<a name="l00380"></a>00380     <span class="keywordtype">void</span> initializeGL();
<a name="l00381"></a>00381     <span class="keywordtype">void</span> resizeGL(<span class="keywordtype">int</span> w, <span class="keywordtype">int</span> h);
<a name="l00382"></a>00382     <span class="keywordtype">void</span> paintGL();
<a name="l00383"></a>00383     <span class="keywordtype">void</span> mouseMoveEvent ( QMouseEvent * e );
<a name="l00384"></a>00384     <span class="keywordtype">void</span> mousePressEvent ( QMouseEvent * e );
<a name="l00385"></a>00385     <span class="keywordtype">void</span> mouseReleaseEvent ( QMouseEvent * e );
<a name="l00386"></a>00386     <span class="keywordtype">void</span> wheelEvent ( QWheelEvent * e );
<a name="l00387"></a>00387 
<a name="l00388"></a>00388     <span class="keywordtype">bool</span> _mousePressed;
<a name="l00389"></a>00389     QPoint _mousePosition;
<a name="l00390"></a>00390 
<a name="l00391"></a>00391 <span class="keyword">private</span>:
<a name="l00395"></a>00395     <span class="keywordtype">void</span> drawGrid();
<a name="l00396"></a>00396     
<a name="l00400"></a>00400     <span class="keywordtype">void</span> drawBoundingBox(<span class="keyword">const</span> <a class="code" href="class_i_surface.html">ISurface</a>* mesh);
<a name="l00401"></a>00401 
<a name="l00402"></a>00402     <span class="keywordtype">void</span> drawCursor();
<a name="l00403"></a>00403 
<a name="l00404"></a>00404     <span class="keywordtype">void</span> drawOrientationAxis();
<a name="l00405"></a>00405     
<a name="l00406"></a>00406     <span class="keywordtype">void</span> drawRectWinCoord(<span class="keyword">const</span> Point3&amp;, <span class="keyword">const</span> Point3&amp; );
<a name="l00407"></a>00407         
<a name="l00408"></a>00408     <span class="keywordtype">void</span> drawEllipseWinCoord(<span class="keyword">const</span> Point3&amp; center,
<a name="l00409"></a>00409                              <span class="keywordtype">float</span> startAngle,
<a name="l00410"></a>00410                              <span class="keywordtype">float</span> endAngle,
<a name="l00411"></a>00411                              <span class="keywordtype">float</span> axis1,
<a name="l00412"></a>00412                              <span class="keywordtype">float</span> axis2,
<a name="l00413"></a>00413                              <span class="keywordtype">float</span> innerAxis1,
<a name="l00414"></a>00414                              <span class="keywordtype">float</span> innerAxis2);
<a name="l00415"></a>00415     
<a name="l00416"></a>00416     <span class="keywordtype">void</span> drawSceneNode(SceneNode::SharedPtr node);
<a name="l00417"></a>00417         
<a name="l00418"></a>00418     <span class="keyword">struct </span><a class="code" href="struct_gl_canvas_1_1_impl.html">Impl</a>;
<a name="l00419"></a>00419     QScopedPointer&lt;Impl&gt; _d;
<a name="l00420"></a>00420     
<a name="l00421"></a>00421 };
<a name="l00422"></a>00422 
<a name="l00423"></a>00423 <span class="preprocessor">#endif</span>
<a name="l00424"></a>00424 <span class="preprocessor"></span>
</pre></div></div>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerator</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Thu May 31 2012 16:19:51 for QSculpt by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1
</small></address>

</body>
</html>
